package com.bing.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by kaibb on 15-11-26.
 */

@Component
public class HelloTask {


    @Scheduled(fixedRate = 12 * 3600 * 1000l)
    public void index() {
        System.out.println("hello task scheduled");
    }
}
